#!/bin/sh -e
# postinst script for Schimpf Java Library

case "$1" in
	configure)
		# eliminamos el enlace existente
		rm -f /usr/share/java/org.schimpf.java.jar
		
		# generamos el enlace
		ln -s /usr/lib/schimpf/libschimpf-java.jar /usr/share/java/org.schimpf.java.jar
		;;

	abort-upgrade|abort-remove|abort-deconfigure)
		;;

	*)
		echo "postinst called with unknown argument $1" >&2
		exit 1
		;;
esac